package kgc.crm.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.lang.reflect.Array;
import java.util.Arrays;

/**
    * 地名表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "kgc_crm_crm_area")
public class Area {
    @TableField(value = "code_id")
    private Integer codeId;

    @TableField(value = "parent_id")
    private Integer parentId;

    @TableField(value = "city_name")
    private String cityName;

    public static final String COL_CODE_ID = "code_id";

    public static final String COL_PARENT_ID = "parent_id";

    public static final String COL_CITY_NAME = "city_name";







    public static void main(String[] args) {

        int b[] = {2,3,634,123,543};
        System.out.print("排序前："+ " ");
        for (int i = 0; i <b.length ; i++) {
            System.out.print(b[i]+" ");
        }
        Arrays.sort(b);
        System.out.print("排序后："+ " ");
        for (int i = 0; i <b.length ; i++) {
            System.out.print(b[i]+" ");
        }
    }

}

